Don't assume time_t can fit into int.
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 6 Jun 2011 05:50:29 +0000 (22:50 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 6 Jun 2011 05:50:29 +0000 (22:50 -0700)
* buffer.h (struct buffer.modtime): Now time_t, not int.
* fileio.c (Fvisited_file_modtime): No need for time_t cast now.
* undo.c (Fprimitive_undo): Use time_t, not int, for time_t value.

1  2 
src/ChangeLog

diff --cc src/ChangeLog
index b1b2b0d8285d5aeacb65681566835270001bc122,ac8e543ea91ab8395283249d72e583fbc953b875..0edcebdbedf17383cf6eb8e417312dd777bb6bbc
@@@ -1,5 -1,10 +1,10 @@@
 -2011-06-03  Paul Eggert  <eggert@cs.ucla.edu>
 +2011-06-06  Paul Eggert  <eggert@cs.ucla.edu>
  
+       Don't assume time_t can fit into int.
+       * buffer.h (struct buffer.modtime): Now time_t, not int.
+       * fileio.c (Fvisited_file_modtime): No need for time_t cast now.
+       * undo.c (Fprimitive_undo): Use time_t, not int, for time_t value.
        Minor fixes for signed vs unsigned integers.
        * character.h (MAYBE_UNIFY_CHAR):
        * charset.c (maybe_unify_char):